package com.example.timmy.myapplication.ui.activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.example.timmy.myapplication.R;
import com.example.timmy.myapplication.widget.ProgressRing;

/**
 * @Auther: Timmy
 * @Data: 2017/9/27
 * @Fuction:
 */

public class ProgressRingActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_progressring);

        ProgressRing viewById = (ProgressRing) findViewById(R.id.progressring);

         viewById.setProgress(50);
    }
}
